package com.wandian.news.adapter;


import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.wandian.news.R;
import com.wandian.news.bean.KnowledgeHistoryToadyBean;

/**
 * NotepadHistoryTodayRecycleAdapter-适配器
 */
public class KnowledgeHistoryTodayRecycleAdapter extends BaseQuickAdapter<KnowledgeHistoryToadyBean.NewslistEntity, BaseViewHolder> {

    public KnowledgeHistoryTodayRecycleAdapter(int layoutResId) {
        super(layoutResId);
    }


    @Override
    protected void convert(BaseViewHolder helper, KnowledgeHistoryToadyBean.NewslistEntity item) {

        helper.setText(R.id.tv_date, item.getLsdate()+"")
                .setText(R.id.tv_desc, item.getTitle()+"");
    }

}
